<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Liveact</title>
</head>
<body>
    <div id="root"></div>
    <!-- <script type="text/javascript">
        // 动态设置 viewport 的 initial-scale
        var viewport = document.querySelector("meta[name=viewport]");
        var dpr = window.devicePixelRatio || 1; // 获取 dpr
        var scale = 1 / dpr;
        viewport.setAttribute(
          "content",
          "width=device-width," +
            "initial-scale=" +
            scale +
            ", maximum-scale=" +
            scale +
            ", minimum-scale=" +
            scale +
            ", user-scalable=no"
        );
        // 计算 rem font-size
        var clientWidth = document.documentElement.clientWidth || document.body.clientWidth;
        clientWidth > 750 && (clientWidth = 750);
        var ft = (clientWidth / 7.5).toFixed(2); // 以 750 设计稿为例
        document.documentElement.style.fontSize = ft + "px";
      </script> -->
</body>
</html>